package com.ny.dao;

import java.sql.SQLException;
import com.ny.entity.Student;
public interface StudentDao {
    public Student selectStudent(String sname,String spassword) throws SQLException;
    int insertStudent(Student student) throws SQLException;

    int updateStudent(Student student) throws SQLException;
}
